Classify whether an equation is linear